package com.glory.dgcpcpda.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class SimpleEntity implements Serializable{

    private LOTBean LOT;
    private List<LOTBean> LOTLIST;
    private String BINNAME;
    private int BINMAINQTY;
    private List<LOTBean.LISTEQUIPMENTBean> LISTEQUIPMENT;
    private List<MantissaLotBinData> LOTBINDATALIST;
    private List<MantissaLotBinData> MANTISSALOTBINDATALIST;
    private String GUIDE;
    private String PACKAGETYPE;
    private int REELNUM;
    private String MANTISSAFLAG;
    private String TRACKSHOWMSG;
    private String HOLDMSG;

    public String getHOLDMSG() {
        return HOLDMSG == null ? "" : HOLDMSG;
    }

    public void setHOLDMSG(String HOLDMSG) {
        this.HOLDMSG = HOLDMSG;
    }

    public String getTRACKSHOWMSG() {
        return TRACKSHOWMSG == null ? "" : TRACKSHOWMSG;
    }

    public void setTRACKSHOWMSG(String TRACKSHOWMSG) {
        this.TRACKSHOWMSG = TRACKSHOWMSG;
    }

    public List<LOTBean> getLOTLIST() {
        if (LOTLIST == null) {
            return new ArrayList<>();
        }
        return LOTLIST;
    }

    public void setLOTLIST(List<LOTBean> LOTLIST) {
        this.LOTLIST = LOTLIST;
    }

    public String getMANTISSAFLAG() {
        return MANTISSAFLAG == null ? "" : MANTISSAFLAG;
    }

    public void setMANTISSAFLAG(String MANTISSAFLAG) {
        this.MANTISSAFLAG = MANTISSAFLAG;
    }

    public int getREELNUM() {
        return REELNUM;
    }

    public void setREELNUM(int REELNUM) {
        this.REELNUM = REELNUM;
    }

    public String getPACKAGETYPE() {
        return PACKAGETYPE == null ? "" : PACKAGETYPE;
    }

    public void setPACKAGETYPE(String PACKAGETYPE) {
        this.PACKAGETYPE = PACKAGETYPE;
    }

    public List<MantissaLotBinData> getMANTISSALOTBINDATALIST() {
        if (MANTISSALOTBINDATALIST == null) {
            return new ArrayList<>();
        }
        return MANTISSALOTBINDATALIST;
    }

    public void setMANTISSALOTBINDATALIST(List<MantissaLotBinData> MANTISSALOTBINDATALIST) {
        this.MANTISSALOTBINDATALIST = MANTISSALOTBINDATALIST;
    }

    public String getGUIDE() {
        return GUIDE == null ? "" : GUIDE;
    }

    public void setGUIDE(String GUIDE) {
        this.GUIDE = GUIDE;
    }

    public List<MantissaLotBinData> getLOTBINDATALIST() {
        if (LOTBINDATALIST == null) {
            return new ArrayList<>();
        }
        return LOTBINDATALIST;
    }

    public void setLOTBINDATALIST(List<MantissaLotBinData> LOTBINDATALIST) {
        this.LOTBINDATALIST = LOTBINDATALIST;
    }

    public LOTBean getLOT() {
        return LOT;
    }

    public void setLOT(LOTBean LOT) {
        this.LOT = LOT;
    }

    public String getBINNAME() {
        return BINNAME == null ? "" : BINNAME;
    }

    public void setBINNAME(String BINNAME) {
        this.BINNAME = BINNAME;
    }

    public int getBINMAINQTY() {
        return BINMAINQTY;
    }

    public void setBINMAINQTY(int BINMAINQTY) {
        this.BINMAINQTY = BINMAINQTY;
    }

    public List<LOTBean.LISTEQUIPMENTBean> getLISTEQUIPMENT() {
        if (LISTEQUIPMENT == null) {
            return new ArrayList<>();
        }
        return LISTEQUIPMENT;
    }

    public void setLISTEQUIPMENT(List<LOTBean.LISTEQUIPMENTBean> LISTEQUIPMENT) {
        this.LISTEQUIPMENT = LISTEQUIPMENT;
    }

    public static class LOTBean {

        private UDFBean UDF;
        private int OBJECTRRN;
        private int ORGRRN;
        private String LOTID;
        private String LOTTYPE;
        private String PARTNAME;
        private int PARTVERSION;
        private String PARTTYPE;
        private String CUSTOMERCODE;
        private int MAINQTY;
        private String PROCESSNAME;
        private int PROCESSVERSION;
        private String PROCEDURENAME;
        private int PROCEDUREVERSION;
        private String STEPNAME;
        private int STEPVERSION;
        private String STEPDESC;
        private int STEPRRN;
        private String COMCLASS;
        private String STATE;
        private String UPDATED;
        private String UPDATEDBY;
        private String MAINMATTYPE;
        private String EQUIPMENTID;
        private String HOLDSTATE;
        private int PRIORITY;
        private String WOID;
        private int REWORKCOUNT;
        private int USECOUNT;
        private String OPERATOR1;
        private String CREATED;
        private String ISSUBLOT;
        private String LOCATION;
        private String QUEUETIME;
        private String TRACKINTIME;
        private String TRACKOUTTIME;
        private long PLANSTARTDATE;
        private long PLANENDDATE;
        private long REQUIREDATE;
        private String SUBUNITTYPE;
        private String CUSTOMERORDER;
        private String CUSTOMERPARTID;
        private int PARTRRN;

        public UDFBean getUDF() {
            return UDF;
        }

        public void setUDF(UDFBean UDF) {
            this.UDF = UDF;
        }

        public int getOBJECTRRN() {
            return OBJECTRRN;
        }

        public void setOBJECTRRN(int OBJECTRRN) {
            this.OBJECTRRN = OBJECTRRN;
        }

        public int getORGRRN() {
            return ORGRRN;
        }

        public void setORGRRN(int ORGRRN) {
            this.ORGRRN = ORGRRN;
        }

        public String getLOTID() {
            return LOTID == null ? "" : LOTID;
        }

        public void setLOTID(String LOTID) {
            this.LOTID = LOTID;
        }

        public String getLOTTYPE() {
            return LOTTYPE == null ? "" : LOTTYPE;
        }

        public void setLOTTYPE(String LOTTYPE) {
            this.LOTTYPE = LOTTYPE;
        }

        public String getPARTNAME() {
            return PARTNAME == null ? "" : PARTNAME;
        }

        public void setPARTNAME(String PARTNAME) {
            this.PARTNAME = PARTNAME;
        }

        public int getPARTVERSION() {
            return PARTVERSION;
        }

        public void setPARTVERSION(int PARTVERSION) {
            this.PARTVERSION = PARTVERSION;
        }

        public String getPARTTYPE() {
            return PARTTYPE == null ? "" : PARTTYPE;
        }

        public void setPARTTYPE(String PARTTYPE) {
            this.PARTTYPE = PARTTYPE;
        }

        public String getCUSTOMERCODE() {
            return CUSTOMERCODE == null ? "" : CUSTOMERCODE;
        }

        public void setCUSTOMERCODE(String CUSTOMERCODE) {
            this.CUSTOMERCODE = CUSTOMERCODE;
        }

        public int getMAINQTY() {
            return MAINQTY;
        }

        public void setMAINQTY(int MAINQTY) {
            this.MAINQTY = MAINQTY;
        }

        public String getPROCESSNAME() {
            return PROCESSNAME == null ? "" : PROCESSNAME;
        }

        public void setPROCESSNAME(String PROCESSNAME) {
            this.PROCESSNAME = PROCESSNAME;
        }

        public int getPROCESSVERSION() {
            return PROCESSVERSION;
        }

        public void setPROCESSVERSION(int PROCESSVERSION) {
            this.PROCESSVERSION = PROCESSVERSION;
        }

        public String getPROCEDURENAME() {
            return PROCEDURENAME == null ? "" : PROCEDURENAME;
        }

        public void setPROCEDURENAME(String PROCEDURENAME) {
            this.PROCEDURENAME = PROCEDURENAME;
        }

        public int getPROCEDUREVERSION() {
            return PROCEDUREVERSION;
        }

        public void setPROCEDUREVERSION(int PROCEDUREVERSION) {
            this.PROCEDUREVERSION = PROCEDUREVERSION;
        }

        public String getSTEPNAME() {
            return STEPNAME == null ? "" : STEPNAME;
        }

        public void setSTEPNAME(String STEPNAME) {
            this.STEPNAME = STEPNAME;
        }

        public int getSTEPVERSION() {
            return STEPVERSION;
        }

        public void setSTEPVERSION(int STEPVERSION) {
            this.STEPVERSION = STEPVERSION;
        }

        public String getSTEPDESC() {
            return STEPDESC == null ? "" : STEPDESC;
        }

        public void setSTEPDESC(String STEPDESC) {
            this.STEPDESC = STEPDESC;
        }

        public int getSTEPRRN() {
            return STEPRRN;
        }

        public void setSTEPRRN(int STEPRRN) {
            this.STEPRRN = STEPRRN;
        }

        public String getCOMCLASS() {
            return COMCLASS == null ? "" : COMCLASS;
        }

        public void setCOMCLASS(String COMCLASS) {
            this.COMCLASS = COMCLASS;
        }

        public String getSTATE() {
            return STATE == null ? "" : STATE;
        }

        public void setSTATE(String STATE) {
            this.STATE = STATE;
        }

        public String getUPDATED() {
            return UPDATED == null ? "" : UPDATED;
        }

        public void setUPDATED(String UPDATED) {
            this.UPDATED = UPDATED;
        }

        public String getUPDATEDBY() {
            return UPDATEDBY == null ? "" : UPDATEDBY;
        }

        public void setUPDATEDBY(String UPDATEDBY) {
            this.UPDATEDBY = UPDATEDBY;
        }

        public String getMAINMATTYPE() {
            return MAINMATTYPE == null ? "" : MAINMATTYPE;
        }

        public void setMAINMATTYPE(String MAINMATTYPE) {
            this.MAINMATTYPE = MAINMATTYPE;
        }

        public String getEQUIPMENTID() {
            return EQUIPMENTID == null ? "" : EQUIPMENTID;
        }

        public void setEQUIPMENTID(String EQUIPMENTID) {
            this.EQUIPMENTID = EQUIPMENTID;
        }

        public String getHOLDSTATE() {
            return HOLDSTATE == null ? "" : HOLDSTATE;
        }

        public void setHOLDSTATE(String HOLDSTATE) {
            this.HOLDSTATE = HOLDSTATE;
        }

        public int getPRIORITY() {
            return PRIORITY;
        }

        public void setPRIORITY(int PRIORITY) {
            this.PRIORITY = PRIORITY;
        }

        public String getWOID() {
            return WOID == null ? "" : WOID;
        }

        public void setWOID(String WOID) {
            this.WOID = WOID;
        }

        public int getREWORKCOUNT() {
            return REWORKCOUNT;
        }

        public void setREWORKCOUNT(int REWORKCOUNT) {
            this.REWORKCOUNT = REWORKCOUNT;
        }

        public int getUSECOUNT() {
            return USECOUNT;
        }

        public void setUSECOUNT(int USECOUNT) {
            this.USECOUNT = USECOUNT;
        }

        public String getOPERATOR1() {
            return OPERATOR1 == null ? "" : OPERATOR1;
        }

        public void setOPERATOR1(String OPERATOR1) {
            this.OPERATOR1 = OPERATOR1;
        }

        public String getCREATED() {
            return CREATED == null ? "" : CREATED;
        }

        public void setCREATED(String CREATED) {
            this.CREATED = CREATED;
        }

        public String getISSUBLOT() {
            return ISSUBLOT == null ? "" : ISSUBLOT;
        }

        public void setISSUBLOT(String ISSUBLOT) {
            this.ISSUBLOT = ISSUBLOT;
        }

        public String getLOCATION() {
            return LOCATION == null ? "" : LOCATION;
        }

        public void setLOCATION(String LOCATION) {
            this.LOCATION = LOCATION;
        }

        public String getQUEUETIME() {
            return QUEUETIME == null ? "" : QUEUETIME;
        }

        public void setQUEUETIME(String QUEUETIME) {
            this.QUEUETIME = QUEUETIME;
        }

        public String getTRACKINTIME() {
            return TRACKINTIME == null ? "" : TRACKINTIME;
        }

        public void setTRACKINTIME(String TRACKINTIME) {
            this.TRACKINTIME = TRACKINTIME;
        }

        public String getTRACKOUTTIME() {
            return TRACKOUTTIME == null ? "" : TRACKOUTTIME;
        }

        public void setTRACKOUTTIME(String TRACKOUTTIME) {
            this.TRACKOUTTIME = TRACKOUTTIME;
        }

        public long getPLANSTARTDATE() {
            return PLANSTARTDATE;
        }

        public void setPLANSTARTDATE(long PLANSTARTDATE) {
            this.PLANSTARTDATE = PLANSTARTDATE;
        }

        public long getPLANENDDATE() {
            return PLANENDDATE;
        }

        public void setPLANENDDATE(long PLANENDDATE) {
            this.PLANENDDATE = PLANENDDATE;
        }

        public long getREQUIREDATE() {
            return REQUIREDATE;
        }

        public void setREQUIREDATE(long REQUIREDATE) {
            this.REQUIREDATE = REQUIREDATE;
        }

        public String getSUBUNITTYPE() {
            return SUBUNITTYPE == null ? "" : SUBUNITTYPE;
        }

        public void setSUBUNITTYPE(String SUBUNITTYPE) {
            this.SUBUNITTYPE = SUBUNITTYPE;
        }

        public String getCUSTOMERORDER() {
            return CUSTOMERORDER == null ? "" : CUSTOMERORDER;
        }

        public void setCUSTOMERORDER(String CUSTOMERORDER) {
            this.CUSTOMERORDER = CUSTOMERORDER;
        }

        public String getCUSTOMERPARTID() {
            return CUSTOMERPARTID == null ? "" : CUSTOMERPARTID;
        }

        public void setCUSTOMERPARTID(String CUSTOMERPARTID) {
            this.CUSTOMERPARTID = CUSTOMERPARTID;
        }

        public int getPARTRRN() {
            return PARTRRN;
        }

        public void setPARTRRN(int PARTRRN) {
            this.PARTRRN = PARTRRN;
        }

        public static class UDFBean {

            private String RESERVED3;
            private String RESERVED2;
            private String ASSEMBLEBATCH;
            private String REELCHECK;
            private String ISGOOD;
            private String RESERVED7;
            private String RESERVED6;
            private String FTLOTS;
            private String RESERVED5;
            private String RESERVED4;
            private String FTLOTMAINQTYS;
            private String WIRINGDIAGRAM;
            private String PACKAGETYPE;
            private String FTWOES;
            private String RESERVED10;
            private String SINGLETEST;
            private String FTHOLD;
            private String RESERVED9;
            private String RESERVED8;
            private String CHIPNAME;
            private String NEEDSAMPLE;

            public String getNEEDSAMPLE() {
                return NEEDSAMPLE == null ? "" : NEEDSAMPLE;
            }

            public void setNEEDSAMPLE(String NEEDSAMPLE) {
                this.NEEDSAMPLE = NEEDSAMPLE;
            }

            public String getRESERVED3() {
                return RESERVED3 == null ? "" : RESERVED3;
            }

            public void setRESERVED3(String RESERVED3) {
                this.RESERVED3 = RESERVED3;
            }

            public String getRESERVED2() {
                return RESERVED2 == null ? "" : RESERVED2;
            }

            public void setRESERVED2(String RESERVED2) {
                this.RESERVED2 = RESERVED2;
            }

            public String getASSEMBLEBATCH() {
                return ASSEMBLEBATCH == null ? "" : ASSEMBLEBATCH;
            }

            public void setASSEMBLEBATCH(String ASSEMBLEBATCH) {
                this.ASSEMBLEBATCH = ASSEMBLEBATCH;
            }

            public String getREELCHECK() {
                return REELCHECK == null ? "" : REELCHECK;
            }

            public void setREELCHECK(String REELCHECK) {
                this.REELCHECK = REELCHECK;
            }

            public String getISGOOD() {
                return ISGOOD == null ? "" : ISGOOD;
            }

            public void setISGOOD(String ISGOOD) {
                this.ISGOOD = ISGOOD;
            }

            public String getRESERVED7() {
                return RESERVED7 == null ? "" : RESERVED7;
            }

            public void setRESERVED7(String RESERVED7) {
                this.RESERVED7 = RESERVED7;
            }

            public String getRESERVED6() {
                return RESERVED6 == null ? "" : RESERVED6;
            }

            public void setRESERVED6(String RESERVED6) {
                this.RESERVED6 = RESERVED6;
            }

            public String getFTLOTS() {
                return FTLOTS == null ? "" : FTLOTS;
            }

            public void setFTLOTS(String FTLOTS) {
                this.FTLOTS = FTLOTS;
            }

            public String getRESERVED5() {
                return RESERVED5 == null ? "" : RESERVED5;
            }

            public void setRESERVED5(String RESERVED5) {
                this.RESERVED5 = RESERVED5;
            }

            public String getRESERVED4() {
                return RESERVED4 == null ? "" : RESERVED4;
            }

            public void setRESERVED4(String RESERVED4) {
                this.RESERVED4 = RESERVED4;
            }

            public String getFTLOTMAINQTYS() {
                return FTLOTMAINQTYS == null ? "" : FTLOTMAINQTYS;
            }

            public void setFTLOTMAINQTYS(String FTLOTMAINQTYS) {
                this.FTLOTMAINQTYS = FTLOTMAINQTYS;
            }

            public String getWIRINGDIAGRAM() {
                return WIRINGDIAGRAM == null ? "" : WIRINGDIAGRAM;
            }

            public void setWIRINGDIAGRAM(String WIRINGDIAGRAM) {
                this.WIRINGDIAGRAM = WIRINGDIAGRAM;
            }

            public String getPACKAGETYPE() {
                return PACKAGETYPE == null ? "" : PACKAGETYPE;
            }

            public void setPACKAGETYPE(String PACKAGETYPE) {
                this.PACKAGETYPE = PACKAGETYPE;
            }

            public String getFTWOES() {
                return FTWOES == null ? "" : FTWOES;
            }

            public void setFTWOES(String FTWOES) {
                this.FTWOES = FTWOES;
            }

            public String getRESERVED10() {
                return RESERVED10 == null ? "" : RESERVED10;
            }

            public void setRESERVED10(String RESERVED10) {
                this.RESERVED10 = RESERVED10;
            }

            public String getSINGLETEST() {
                return SINGLETEST == null ? "" : SINGLETEST;
            }

            public void setSINGLETEST(String SINGLETEST) {
                this.SINGLETEST = SINGLETEST;
            }

            public String getFTHOLD() {
                return FTHOLD == null ? "" : FTHOLD;
            }

            public void setFTHOLD(String FTHOLD) {
                this.FTHOLD = FTHOLD;
            }

            public String getRESERVED9() {
                return RESERVED9 == null ? "" : RESERVED9;
            }

            public void setRESERVED9(String RESERVED9) {
                this.RESERVED9 = RESERVED9;
            }

            public String getRESERVED8() {
                return RESERVED8 == null ? "" : RESERVED8;
            }

            public void setRESERVED8(String RESERVED8) {
                this.RESERVED8 = RESERVED8;
            }

            public String getCHIPNAME() {
                return CHIPNAME == null ? "" : CHIPNAME;
            }

            public void setCHIPNAME(String CHIPNAME) {
                this.CHIPNAME = CHIPNAME;
            }
        }

        public static class LISTEQUIPMENTBean {
            private String EQUIPMENTID;
            private int STYLE;

            public String getEQUIPMENTID() {
                return EQUIPMENTID == null ? "" : EQUIPMENTID;
            }

            public void setEQUIPMENTID(String EQUIPMENTID) {
                this.EQUIPMENTID = EQUIPMENTID;
            }

            public int getSTYLE() {
                return STYLE;
            }

            public void setSTYLE(int STYLE) {
                this.STYLE = STYLE;
            }
        }
    }

    /**
     * 和尾数批参数一样
     */
    public static class ListBinInfo implements Serializable{
        private String BINNAME;
        private String BINDESC;
        private int MAINQTY;
        private String LOTID;
        private String CLEARTYPE;
        private String BINGRADE;

        public String getBINGRADE() {
            return BINGRADE == null ? "" : BINGRADE;
        }

        public void setBINGRADE(String BINGRADE) {
            this.BINGRADE = BINGRADE;
        }

        public String getCLEARTYPE() {
            return CLEARTYPE == null ? "" : CLEARTYPE;
        }

        public void setCLEARTYPE(String CLEARTYPE) {
            this.CLEARTYPE = CLEARTYPE;
        }

        public String getLOTID() {
            return LOTID == null ? "" : LOTID;
        }

        public void setLOTID(String LOTID) {
            this.LOTID = LOTID;
        }

        public String getBINNAME() {
            return BINNAME == null ? "" : BINNAME;
        }

        public void setBINNAME(String BINNAME) {
            this.BINNAME = BINNAME;
        }

        public String getBINDESC() {
            return BINDESC == null ? "" : BINDESC;
        }

        public void setBINDESC(String BINDESC) {
            this.BINDESC = BINDESC;
        }

        public int getMAINQTY() {
            return MAINQTY;
        }

        public void setMAINQTY(int MAINQTY) {
            this.MAINQTY = MAINQTY;
        }
    }

    public static class MantissaLotBinData implements Serializable{
        private String LOTID;
        private String BINNAME;
        private String BINDESC;
        private int MAINQTY;
        private String BINGRADE;
        private String CLEARTYPE;
        private boolean checked;
        private String BINTYPE;
        private double CODE;

        public double getCODE() {
            return CODE;
        }

        public void setCODE(double CODE) {
            this.CODE = CODE;
        }

        public String getBINTYPE() {
            return BINTYPE == null ? "" : BINTYPE;
        }

        public void setBINTYPE(String BINTYPE) {
            this.BINTYPE = BINTYPE;
        }

        public boolean isChecked() {
            return checked;
        }

        public void setChecked(boolean checked) {
            this.checked = checked;
        }

        public String getCLEARTYPE() {
            switch (CLEARTYPE){
                case "None":
                    CLEARTYPE = "留站内";
                    break;
                case "Rework":
                    CLEARTYPE = "返工";
                    break;
                case "Scrap":
                    CLEARTYPE = "报废";
                    break;
                case "Split":
                    CLEARTYPE = "分批";
                    break;
                case "SplitTrackOut":
                    CLEARTYPE = "分批出站";
                    break;
                case "SplitScrap":
                    CLEARTYPE = "分批报废";
                    break;
            }
            return CLEARTYPE;
        }

        public void setCLEARTYPE(String CLEARTYPE) {
            this.CLEARTYPE = CLEARTYPE;
        }

        public String getLOTID() {
            return LOTID == null ? "" : LOTID;
        }

        public void setLOTID(String LOTID) {
            this.LOTID = LOTID;
        }

        public String getBINNAME() {
            return BINNAME == null ? "" : BINNAME;
        }

        public void setBINNAME(String BINNAME) {
            this.BINNAME = BINNAME;
        }

        public String getBINDESC() {
            return BINDESC == null ? "" : BINDESC;
        }

        public void setBINDESC(String BINDESC) {
            this.BINDESC = BINDESC;
        }

        public int getMAINQTY() {
            return MAINQTY;
        }

        public void setMAINQTY(int MAINQTY) {
            this.MAINQTY = MAINQTY;
        }

        public String getBINGRADE() {
            return BINGRADE == null ? "" : BINGRADE;
        }

        public void setBINGRADE(String BINGRADE) {
            this.BINGRADE = BINGRADE;
        }
    }
}